home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / SCRIPTZ / ECWAR10.ZIP / ECINIS.ZIP / VARIABLE.TXT < prev   
Text File  |  1996-04-03  |  1KB  |  28 lines

  1.                         *****|VARIABLES|*****
  2.  
  3.  
  4. - These are commonly referred to as vars.
  5.  
  6. - To set a var type /set -q %var value
  7. I am going to diagram every part of that command.
  8. SET  I believe we know what this is.
  9. -q   This meaning the command is being done quietly.
  10. %    I think the best thing to do is think of the % as a $. Everyone is 
  11.      familiar with the Remote section, and are familiar with the $ command. The %
  12.      in front of var is just like a $ in front of $nick.
  13. var  This is what you will be setting. An example is setting the var to count
  14.      how many ppl say the word dog. I would type this command to count how 
  15.      many ppl say dog:  /set -q %dog 0  
  16. value  This is simply the value to set the var at.
  17.  Now, after I set the var like this: /set -q %dog 0  , I have to go the 
  18. Remote/Events section. Now this is a lot like everything else in events. So 
  19. to count how many ppl say dog I would type in events:  
  20.    1:ON TEXT:*dog*:#:/inc %dog 1
  21.  That increases the number of ppl saying the word dog by one. This resource is 
  22. practically unlimited. The more ideas you have the better(or more cluttered)
  23. you var section will be. This is very easy once you get the hang of it.
  24.   Another ex. of vars : /set -q %visitors 1, this meaning that you have 
  25.   just your var to count the visitors. But... You still have to go to events and 
  26.   type 1:ON JOIN:#:/inc %visitors 1 ....Get the picture? 
  27.  
  28.               If you have anymore questions, ask me on IRC.